<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <!-- 创建一个表单 -->
  <form action="">
    <div>
      <label for="username">用户名：</label>
      <input type="text" name="username" id="username" placeholder="请输入用户名">
      </input>
    </div>
    <div>
      <label for="password">密码：</label>
      <input type="password" name="password" id="password" placeholder="请输入密码">
      </input>
    </div>
    <div>
      爱好
      <input type="checkbox" name="hobby" value="1">足球</input>
      <input type="checkbox" name="hobby" value="2">篮球</input>
      <input type="checkbox" name="hobby" value="3">游泳</input>
    </div>
    <div>
      性别
      <label> <input type="radio" name="sex" value="1" />男</label>
      <label for=""> <input type="radio" name="sex" value="2">女</input></label>
    </div>
    <div>
      <label for="">个人简介：</label>
      <textarea name="" id="" cols="30" rows="10"></textarea>
    </div>
    <div>
      <input type="submit" value="登录">
      <input type="reset" value="重置">
    </div>



  </form>

</body>

</html>